<html>
<head>
<title>Login Page</title>
<style>
.errorblock {
	color: #ff0000;
	background-color: #ffEEEE;
	border: 3px solid #ff0000;
	padding: 8px;
	margin: 16px;
}
</style>
<script type="text/javascript" src="javascript/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="javascript/jquery.validate.min.js"></script>
<script type="text/javascript" src="javascript/additional-methods.min.js"></script>
</head>
<body onload='document.f.j_username.focus();'>
    <h3>There's only one user: super/super!!</h3>
    <#if message?has_content> 
        Message from the controller: ${message} 
    </#if> 
    <#if Session.SPRING_SECURITY_LAST_EXCEPTION?? && Session.SPRING_SECURITY_LAST_EXCEPTION.message?has_content>
        <br />Message: ${Session.SPRING_SECURITY_LAST_EXCEPTION.message} 
    </#if>
    <form name='f' action="j_spring_security_check" method='POST'>
        <table>
            <tr>
                <td>User:</td>
                <td><input type='text' name='anything' value=''></td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><input type='password' name='as_you_want' /></td>
            </tr>
            <tr>
                <td></td>
                <td><input name="submit" type="submit" value="submit" /></td>
            </tr>
        </table>
    </form>
</body>
</html>